package kr.ac.kaist.pointdaproject;

public class CardItem {

	private CardInformation mCardName;
	private CardInformation mCardNumber;
	private CardInformation mCardIcon;

	public CardItem() {		
		mCardName = new CardInformation();
		mCardNumber = new CardInformation();
		mCardIcon = new CardInformation();
	}
	
	public CardInformation getCardName() {
		return mCardName;
	}

	public CardInformation getCardNumber() {
		return mCardNumber;
	}

	public CardInformation getCardIcon() {
		return mCardIcon;
	}

	public class CardInformation implements Cards {
		String mInfo;
	
		@Override
		public void set(String info) {
			// TODO Auto-generated method stub
			mInfo = info;
		}
	
		@Override
		public String get() {
			// TODO Auto-generated method stub
			return mInfo;
		}
		
	}
}